package com.ruoyi.custom.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.custom.mapper.ReportFormsMapper;
import com.ruoyi.custom.domain.ReportForms;
import com.ruoyi.custom.service.IReportFormsService;

/**
 * 潜在学员报表Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-03-27
 */
@Service
public class ReportFormsServiceImpl implements IReportFormsService 
{
    @Autowired
    private ReportFormsMapper reportFormsMapper;

    /**
     * 查询潜在学员报表
     * 
     * @param id 潜在学员报表主键
     * @return 潜在学员报表
     */
    @Override
    public ReportForms selectReportFormsById(Long id)
    {
        return reportFormsMapper.selectReportFormsById(id);
    }

    /**
     * 查询潜在学员报表列表
     * 
     * @param reportForms 潜在学员报表
     * @return 潜在学员报表
     */
    @Override
    public List<ReportForms> selectReportFormsList(ReportForms reportForms)
    {
        return reportFormsMapper.selectReportFormsList(reportForms);
    }

    /**
     * 新增潜在学员报表
     * 
     * @param reportForms 潜在学员报表
     * @return 结果
     */
    @Override
    public int insertReportForms(ReportForms reportForms)
    {
        return reportFormsMapper.insertReportForms(reportForms);
    }

    /**
     * 修改潜在学员报表
     * 
     * @param reportForms 潜在学员报表
     * @return 结果
     */
    @Override
    public int updateReportForms(ReportForms reportForms)
    {
        return reportFormsMapper.updateReportForms(reportForms);
    }

    /**
     * 批量删除潜在学员报表
     * 
     * @param ids 需要删除的潜在学员报表主键
     * @return 结果
     */
    @Override
    public int deleteReportFormsByIds(Long[] ids)
    {
        return reportFormsMapper.deleteReportFormsByIds(ids);
    }

    /**
     * 删除潜在学员报表信息
     * 
     * @param id 潜在学员报表主键
     * @return 结果
     */
    @Override
    public int deleteReportFormsById(Long id)
    {
        return reportFormsMapper.deleteReportFormsById(id);
    }
}
